package com.net.tkc.pro.service;

import com.net.tkc.pro.entity.FraudType;
import com.net.tkc.pro.impl.FraudTypeImpl;
import com.net.tkc.pro.entity.FraudType;
import com.net.tkc.pro.impl.FraudTypeImpl;
import com.net.tkc.pro.impl.FriendsImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class FraudTypeService {
    @Resource
    FraudTypeImpl fraudType;


    public int addType(FraudType FraudType) {
        return fraudType.addType(FraudType);
    }


    public List<FraudType> getTypeList() {
        return fraudType.getTypeList();
    }
}
